package coroutines

import kotlinx.coroutines.*

fun coroutineTest() {
    val scope = CoroutineScope(Job())

    val block: suspend CoroutineScope.() -> Unit = {
        println("Hello")
        delay(1000L)
        println("Kotlin")
    }

    scope.launch(context = Dispatchers.Default, block = block)
}